import request from '@/utils/request'

// 查询standardNoes列表
export function listStandardNoes(query) {
  return request({
    url: '/system/standardNoes/list',
    method: 'get',
    params: query
  })
}

// 查询standardNoes详细
export function getStandardNoes(id) {
  return request({
    url: '/system/standardNoes/' + id,
    method: 'get'
  })
}

// 新增standardNoes
export function addStandardNoes(data) {
  return request({
    url: '/system/standardNoes',
    method: 'post',
    data: data
  })
}

// 修改standardNoes
export function updateStandardNoes(data) {
  return request({
    url: '/system/standardNoes',
    method: 'put',
    data: data
  })
}

// 删除standardNoes
export function delStandardNoes(id) {
  return request({
    url: '/system/standardNoes/' + id,
    method: 'delete'
  })
}

// 查询standardNoes详细
export function calTableName(tableName) {
  return request({
    url: '/system/db15/getCal/' + tableName,
    method: 'get'
  })
}

// 查询standardNoes详细
export function calUpdate() {
  return request({
    url: '/system/db15/updateCal',
    method: 'get'
  })
}
